package cn.whale.kill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

//秒杀启动类
@SpringBootApplication
@EnableDiscoveryClient
//定时任务
@EnableScheduling
@EnableAsync
public class KillApplication {

    public static void main(String[] args) {
        SpringApplication.run(KillApplication.class);
    }
}




